<?php


namespace App\Providers;


use App\Services\WxPayService;
use Illuminate\Support\ServiceProvider;

class WxPayServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->singleton('wxPay', function () {
            return new WxPayService();
        });
    }

    public function provides()
    {
        return ['wxPay'];
    }
}